<ion-view title="课程中心">

    <ion-content ng-init="tabShow=1">
       <div class="button-bar p+">
         <a class="button button-positive button-outline" ng-click="tabShow=1" ng-class="{'active':tabShow===1}">自选课程</a>
         <a class="button button-positive button-outline" ng-click="tabShow=2" ng-class="{'active':tabShow===2}">推送课程</a>
       </div>
       <div class="tab-con" ng-show="tabShow===1">
           <ion-list >
               <ion-item class="item-thumbnail-left item-icon-right" ng-repeat="i in [1,2,3,4,5,6]" href="#/tab/xxzx/kcxq">
                   <img src="img/thum.png">
                   <h2>课程名称</h2>
                   <p>课程内容简单介绍文字</p>
                   <p>开考时间：2016-09-30 15:00</p>
                   <span class="lb bgc-blue-500 rtop">技能考试</span>
               </ion-item>
               
           </ion-list>
       </div>
       <div class="tab-con" ng-show="tabShow===2">推送课程</div>

    </ion-content>

</ion-view>
